home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Development Tools & Languages / HyperCard Related / APDA HyperCard Toolkits / CD Audio Toolkit 1.0 / CD Audio Toolkit / Documentation 1.0 / Documentation 1.0 / card_6116.txt < prev    next >
Encoding:
Text File  |  1995-02-07  |  904 b   |  37 lines

  1. -- card: 6116 from stack: in.0
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3170
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 9
  9. ----- text -----
  10. Function:
  11.  
  12. -- part contents for background part 4
  13. ----- text -----
  14. returns a status value.  If the value is negative, an error occurred.  If the value is 0 or positive, it has the following meaning:
  15.  
  16. 0 - audio pause in operation
  17. 1 - audio play in progress
  18. 2 - audio muting on
  19. 3 - audio play operation completed
  20. 4 - error occurred during audio play operation
  21. 5 - you aren‚Äôt currently playing
  22.  
  23. you use this call to figure out when to terminate a loop, such as 
  24.  
  25. repeat while CDStatus() is 1
  26.      put ‚ÄúPlaying‚Äù in field ‚Äústatus‚Äù
  27. end repeat
  28. put ‚Äústopped‚Äù in field ‚Äústatus‚Äù
  29.  
  30.  
  31. -- part contents for background part 1
  32. ----- text -----
  33. CDStatus()
  34.  
  35. -- part contents for background part 2
  36. ----- text -----
  37. returns the status of the CD drive